<div id="quiz-switch" class="weui_cells_title">没有找到理想的答案？ 点这里问学长！</div>
<div id="list-quiz" class="weui_cells weui_cells_form" style="display: none;">
    <div class="weui_cell">
        <div class="weui_cell_hd">
            <label class="weui_label">标题</label>
        </div>
        <div class="weui_cell_bd weui_cell_primary">
            <input class="weui_input" name="title" placeholder="简洁、关键、吸引人" type="text">
            <div class="weui_cell_ft" id="use-title">
                <a href="javascript: useTitle();" class="weui_btn weui_btn_mini weui_btn_default">使用刚才的标题</a>
            </div>
        </div>
    </div>
    <div class="weui_cell">
        <div class="weui_cell_hd">
            <label class="weui_label">问题描述</label>
        </div>
        <div class="weui_cell_bd weui_cell_primary">
            <textarea class="weui_textarea" placeholder="一个好的问题是不需要很多字来衬托的、你只需要表述你最关键的几个词即可" rows="3"></textarea>
            <div class="weui_textarea_counter"><span>0</span>/200</div>
        </div>
    </div>
    <div class="weui_cells weui_cells_checkbox">
        <label class="weui_cell weui_check_label" for="s11">
            <div class="weui_cell_hd">
                <input class="weui_check" name="checkbox1" id="s11" checked="checked" type="checkbox">
                <i class="weui_icon_checked"></i>
            </div>
            <div class="weui_cell_bd weui_cell_primary">
                <p>有回复时发送邮件通知我 <small>(需绑定邮箱)</small></p>
            </div>
        </label>
        <div class="weui_btn_area">
            <a class="weui_btn weui_btn_primary" href="javascript:" id="showTooltips">确定</a>
        </div>
    </div>
</div>

<script type="text/javascript">
function useTitle() {
    $(':input[name="title"]').val($('#relat-quest').text());
}
$('#quiz-switch').on('click', function() {
    $('#list-quiz').slideToggle();
});
</script>